package com.kcwl.carrier.infrastructure.repository.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kcwl.ddd.domain.repository.BasePO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author 刘旭超
 * @date 2022年11月21日 17:11
 * @Description
 */
@TableName("carrier_blacklist")
@Data
public class CarrierBlacklistPO extends BasePO<CarrierBlacklistPO> {

    @ApiModelProperty(value = "用户id")
    @TableField("carrier_id")
    private Long carrierId;

    @ApiModelProperty(value = "手机号")
    @TableField("mobile")
    private String mobile;

    @ApiModelProperty(value = "姓名")
    @TableField("real_name")
    private String name;

    @ApiModelProperty(value = "证件号")
    @TableField("id_card_no")
    private String idCardNo;

    @ApiModelProperty(value = "等级")
    @TableField("astrict_level")
    private Integer level;

    @ApiModelProperty(value = "限制内容")
    @TableField("astrict_content")
    private String astrictContent;

    @ApiModelProperty(value = "原因")
    @TableField("reason")
    private String reason;

    @ApiModelProperty(value = "失效时间")
    @TableField("expire_time")
    private Date expireTime;

    @ApiModelProperty(value = "是否有效：1有效，0无效")
    @TableField("is_enable")
    private Integer enable;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("create_user_id")
    private Long createUserId;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField("update_user_id")
    private Long updateUserId;

    @ApiModelProperty(value = "平台码标识")
    @TableField("platform_no")
    private String platformNo;
}
